Unpacking gems [Rails 2.3.5]

Posted by yuval on Stack Overflow See other posts from Stack Overflow or by yuval
Published on 2010-04-10T04:11:01Z Indexed on 2010/04/10 4:13 UTC
Read the original article Hit count: 372

I have the following gems defined in my environment.rb file:

  config.gem "authlogic"
  config.gem "paperclip"
  config.gem "pauldix-feedzirra", :lib => "feedzirra", :source => "http://gems.github.com"
  config.gem 'whenever', :lib => false, :source => 'http://gemcutter.org/'

I have them installed on my local computer and everything is working well. Since I am working on a shared-server (DreamHost), I need to unpack those gems to get them to work (can't install them as I did on my own computer to get them to work).

Before uploading, I ran the following on my local machine:

rake gems:unpack

This created the following folders in /vender/gems:

authlogic-2.1.3, paperclip-2.3.1.1, pauldix-feedzirra-0.0.18, whenever-0.4.1

So it looks like they're all there.

When I run rake db:migrate on the server, though, I get these following error:

Missing these required gems:
  pauldix-feedzirra 

For some reason, the feedzirra unpacked gem is not detected. Could anybody give me a clue as to why this is happening and how to solve it?

Thanks!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rubygems